import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;

import javax.swing.JFrame;


public class MainFrame extends JFrame {
	ToolBar mToolBar = new ToolBar();
	TestPanel mTestPanel = new TestPanel();
	
	public MainFrame(){
		this.setDefaultCloseOperation(this.EXIT_ON_CLOSE);
		this.setSize(new Dimension(800,600));
		Dimension size = Toolkit.getDefaultToolkit().getScreenSize();
		this.setLocation(size.width/3, size.height/3);
		
		this.getContentPane().add(mToolBar, BorderLayout.NORTH);
		this.getContentPane().add(mTestPanel,BorderLayout.CENTER);
	}
}
